﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RayDen.SceneLab.Controllers;
using RayDen.SceneLab.Controllers.FormControllers;

namespace RayDen.SceneLab
{
    public class ApplicationContext : Singleton<ApplicationContext>
    {
        public ApplicationController Application { get; set; }
        public ApplicationConfig Config { get; set; }

        public ProceduralTextureEditorController ProceduralTextureEditor { get; set; }


        public ApplicationContext()
        {
            Application = new ApplicationController();
            Config = new ApplicationConfig();
        }

        public void Init()
        {
            Config.RayEngineConfiguration.ReadValues();
        }

        public Components.TextBoxTraceListener TextBoxListener { get; set; }
    }
}
